package com.example.mymusicdisplay.service;

import com.example.mymusicdisplay.data.music.RequestResult;

import io.reactivex.rxjava3.core.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * author: ts
 * created on: 2021/10/25 下午4:33
 * description:
 */
public interface LrcService {
    @GET("/search")
    Flowable<RequestResult> getLrcUrl(@Query("keywords") String singName);

    @GET("/lyric")
    Flowable<Object> getLrcData(@Query("id") long songId);
}
